<?php
/**
 * 支付宝支付
 */
return [
    // 应用ID
    'app_id' => "2017112100078971",
    
    // 支付宝公钥
    'alipay_public_key' => "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqUT8yvJ4P5e6w0sPJ9nTZAL0EF6bAL+3ak4kolFh19hYxlpwBG+tE42rvJVKeGiAAczD2mWQvf+QVbfONRSPqatPDJoP7Q7ftat7lOImumcNJvHVsuShNCu1fq+tqFNCXE2YTqoGHaD2p3KMuI2gXZW7q30u/9HN1QxMcgUicDqftz0HMNEssco9MaW2G2fNLIQ8cZzA2DsZ7vVxu8pAsA+3qQdZRnnBNf1xCYW2XLk2RDuI8Xr3fHN8S0gmP1WQkK+KzXetxThUbzc5c7eWcoQC4EML8j5r/nOxeZ7KTzVNgJCso/VgtySVPUiUupDEt1QU4r3upujVU64iBYAWSwIDAQAB",
		
    // 商户私钥
    'merchant_private_key' => "MIIEowIBAAKCAQEAyPN2SbiQsldKTgK4Pje8FFEWiff8L72+5FFelUQeUJWvUzo16m6TDcY29OYd96/xvuom59FmnIiwNP5APYGw5vBOQXCUgjlwMPMLwYoiKZ43ss7Zt0jfnV6KXHhm/gUxZWRy1wiRjmj4yrvptmKDpwEc1vXFu3i/fDu1V4ZPacvYRtOJCzXZkCD5L7iRY6AcovOakXeboB0/oVkEf6+PyLqsG8l3t7eAY+2BPgOCviO0XwEewfrnRjHWnX5Cj5MbE3RWiwNmsvKim4axWTEAFLrnqjdmbMTSwnE2Klw7GD0shOwfIt1yCAov2d39JgsL1F+T/gzTmodtfCWehAb5EwIDAQABAoIBAFhgsvpTQNgeieBrU8qRSpeI3ifJt9DrW4QgwT9WmRqJ6nTpGgNDpEsfjNYCStW/PMvhQUEdGErp1s1HsMscOcgnkdM4ByiKyGvOyLHS5Zl2KzrpvFjepPIaPTHUBj/b2tCj79ngu9ttEVZgdLYw94PAeoWTy+XagiTKQcP/nveA1gWuL5L86tNFTSdCBl+tROb6g30Tfe3IEV3TFp2/hlA/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// 编码格式
    'charset' => "UTF-8",
    
    // 支付宝网关
    'gatewayUrl' => "https://openapi.alipay.com/gateway.do",
    
    // 异步通知地址,只有扫码支付预下单可用
    'notify_url' => "http://www.baidu.com", // 回调(动态传入)
                                            
    // 最大查询重试次数
    'MaxQueryRetry' => "10", // 面对面支付
                             
    // 查询间隔
    'QueryDuration' => "3", // 面对面支付
                            
    // 同步跳转
    //'return_url' => "" ,// PC和WAP端(动态传入)
] 

;
/* PC WAP用法(不含面对面和APP)

电脑网站支付 Pagepay.php

调用 \alipay\Pagepay::pay($params) 即可

手机网站支付 Wappay.php

调用 \alipay\Wappay::pay($params) 即可

交易查询接口 Query.php

调用 \alipay\Query::exec($query_no) 即可

交易退款接口 Refund.php

调用 \alipay\Refund::exec($params) 即可

退款统一订单查询 RefundQuery.php

调用 \alipay\RefundQuery::exec($params) 即可

交易关闭接口 Close.php

调用 \alipay\Close::exec($query_no) 即可

查询账单下载地址接口 Datadownload.php

调用 \alipay\Datadownload::exec($bill_type, $bill_date) 即可

验签 Notify.php

调用 \alipay\Notify::checkSign($params) 即可 */